cmake_minimum_required(VERSION 3.16)

project(QtQuickRO VERSION 0.1 LANGUAGES CXX)

if("${BuildTargetDir}" STREQUAL "")
set(BuildTargetDir ${CMAKE_SOURCE_DIR}/../${PROJECT_NAME}-${CMAKE_BUILD_TYPE})
endif()
function(fileRecursive path exp output)
    file(GLOB_RECURSE PATH_RES ${exp})
    foreach(filepath ${PATH_RES})
        string(REPLACE "${path}/" "" filename ${filepath})
        list(APPEND RES_LIST ${filename})
    endforeach(filepath)
    set(${output} ${RES_LIST} PARENT_SCOPE)
endfunction()

ADD_SUBDIRECTORY(QtQuickRO)
ADD_SUBDIRECTORY(Test)
